// ==UserScript==
// @namespace     http://javascript.about.com
// @author        Stephen Chapman
// @name          iframe killer
// @description   deletes all iframes from a web page
// @include       http://example.com/
// ==/UserScript==

while((el=document.getElementsByTagName('iframe')).length){
	el[0].parentNode.removeChild(el[0]);
}





/*

		try{
		   var testFrame = eqdiv.children("iframe")[0];
	       var doc = testFrame.contentDocument;
	       if (doc == undefined || doc == null){
	           doc = testFrame.contentWindow.document;
	       }
	       testFrame.contentWindow.location.replace("about:blank");
	       doc.write('');        
	       doc.clear();
		}catch(err){  };
		
		try{
			eqdiv.remove();
			eqdiv = null;
			CollectGarbage();
		}catch(err){  };

		*/